/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author user1
 */
public class VariansChi implements Varians {

    double r;

    public VariansChi(double v) {
        this.r = v;
        System.out.println("Varians Distribusi Chi-Square = "+getVarians());
    }

    public double getVarians() {
        return 2 * r;
    }

}
